package com.brainhealth.common.enums;

/**
 * 学习分类类型枚举
 */
public enum LearnCatetoryType implements BaseEnum
{
    Video(0, "学习视频"), Article(1, "知识科普");
    private final int code;
    private final String info;

    LearnCatetoryType(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    @Override
    public Integer getValue()
    {
        return code;
    }
}
